how to backup and restore tdengine

  1. backup

    taosdump -c /etc/taos/ -o taosbackup/ -uroot -ptaosdata dbname -B 100 -T 4
    
  2. restore

    taosdump -c /etc/taos/ -i taosbackup/ -uroot -ptaosdata -T 8